package main

import (
	"encoding/json"
	"fmt"
	"log"
	"os"
)

func main() {
	dec := json.NewDecoder(os.Stdin)
	enc := json.NewEncoder(os.Stdout)
	for {
		var m map[string]interface{}
		if err := dec.Decode(&m); err != nil {
			log.Println(err)
			return
		}
		for k, v := range m {
			fmt.Println(v)
			if k == "Title" {
				log.Println(v)
			}
		}
		if err := enc.Encode(&m); err != nil {
			log.Println(err)
		}
	}

	//	// 输出流
	//	enc := json.NewEncoder(os.Stdout)
	//	d := map[string]int{"apple": 5, "lettuce": 7}
	//	enc.Encode(d)
}
